﻿using System.ComponentModel;

namespace AdminApiTemplate.Infrastructures
{
    /// <summary>
    /// 数据库表基类（附加操作记录、用户信息）
    /// </summary>
    public class TableFullModelBase : TableModelBase
    {
        /// <summary>
        /// 是否删除
        /// </summary>
        [Description("是否删除")]
        public bool? IsDelete { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        [Description("删除时间")]
        public DateTime? DeleteTime { get; set; }

        /// <summary>
        /// 是否修改
        /// </summary>
        [Description("是否修改")]
        public bool? IsUpdate { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [Description("修改时间")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// UA
        /// </summary>
        [Description("UA")]
        public string UA { get; set; }

        /// <summary>
        /// IP
        /// </summary>
        [Description("IP")]
        public string IP { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        [Description("用户类型")]
        public int? UserType { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        [Description("用户Id")]
        public int? UserId { get; set; }
    }
}
